home *** CD-ROM | disk | FTP | other *** search
/ PC-Blue - MS DOS Public Domain Library / PC-Blue MS-DOS Public Domain Library - NYACC.iso / vol173 / tutorial.chi < prev   
Encoding:
Text File  |  1986-11-24  |  16.3 KB  |  352 lines

  1. \.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\.\4CHIWRITER\.TUTORIAL\,
  2. \+
  3. \+
  4. 1. Cursor Movement\!\,
  5. \-
  6. \-
  7. \1The Cursor keys [Left], [Right], [Up] and [Down]\. in\. the\. numeric \"
  8. keypad\. move\. the\. cursor\. one\. unit\. in\. the\. desired\. direction. 
  9. [Ctrl-Left], [Ctrl-Right] move one word to\. the\. left\. and\. right. 
  10. [Home] and [End] move to the beginning\. and\. end\. of\. the\. screen, 
  11. with intermediate stops at\. the\. beginning\. and\. end\. of\. a\. line. 
  12. [Tab] and [Shift-Tab] move the cursor\. to\. the\. next\. or\. previous 
  13. tab stop. \3Try them out now!\,
  14.      \1[PgUp] and [PgDn] scroll one screen up and down,\. [Ctrl-Home] 
  15. and [Crtl-End] move to the beginning\. and\. end\. of\. the\. document. 
  16. [Ctrl-PgUp] and [Ctrl-PgDn] move the cursor one line up\. or\. down. 
  17. \3Try them now and remember to hit \1[Ctrl-Home] \3to return here!\,
  18.      \1To move the cursor to the next or previous\. occurrence\. of\. a 
  19. character, hit [Grey +] or [Grey -], followed by\. that\. character. 
  20. For example, [Grey +]a moves the cursor to the next\. a,\. [Grey\. -] 
  21. [F3]b moves the previous italic \3b\1.\,
  22.      \3Use \1[PgDn] \3in the following to page through this tutorial! If 
  23. you want to quit the tutorial, hit \1[Ctrl-End] \3for directions.\,
  24. \+
  25. \+
  26. \42. Inserting Text\!\,
  27. \-
  28. \-
  29. \1To insert text, move the cursor anywhere on the screen\. and\. start \"
  30. typing. Use the [Backspace] key to delete the character before the 
  31. cursor, the [Del] key to delete the character\. under\. the\. cursor. 
  32. [Ins] toggles between \2"\1Insert mode\3" \1and \2"\1Overwrite\. mode\3"\1.\. (Check 
  33. the \4INS \1indicator in the status line for the current\. mode.)\. \3Move 
  34. the cursor to the \4* \3on the next line and type your name!\,
  35. \.\.\.\.\.\4*\,
  36. \+
  37. \+
  38. 3. Font Change\!\,
  39. \-
  40. \-
  41. \110 fonts are available to you:\"\,
  42.      F1: Roman  F2: Symbol  F3: \3Italic  \1F4: \4Bold    \1F5:  \5Gothic\,
  43.      \1F6: \6Small  \1F7: Greek   F8: \8Script  \1F9: Math I  F10: Math II\,
  44. To change the font, hit the desired function key on\. the\. left\. of 
  45. the keyboard \3twice\1. Note that the \4FONT: \1indicator\. in\. the\. status 
  46. line changes. If you hit the function key just \3once\1, only the next 
  47. character is taken from the new font and the editor reverts to the 
  48. old font. To see\. a\. font,\. type\. its\. function\. key\. and\. [Alt-H] 
  49. (\2"\1Help\3"\1). \3Move the cursor to the next \4*\3, and try out the different 
  50. fonts! Shift back to font 1 when you are done!\,
  51. \.\.\.\.\.\4*\,\/
  52. \+
  53. \+
  54. 4. The Anatomy of a Line\,\/
  55. \-
  56. \1Each document consists of a sequence of lines. Each line ends in a 
  57. marker which is displayed at the rightmost column of\. the\. screen. 
  58. There are two types of markers:\,
  59.                                                      A soft return marker \2__K
  60.                                                      \1A hard return marker \2__K\,
  61. \1Successive lines are separated by a short line segment in the last 
  62. column and successive pages are separated by a long\. dotted\. line, 
  63. like the one above this section.\,
  64. \+                                       superscripts
  65. \+                                    of
  66. \+                             levels
  67. \+                     several
  68.      A line can have \!\,
  69. \-                                                    and
  70. \-                                                        subscripts.
  71. \+
  72. \+
  73. \45. Super- and Subscripts\,
  74. \-
  75. \-
  76. \3Move the cursor to the next \4* \3and type \1H [Down] 2 [Up] O\3!\,
  77. \-
  78.      \4*\"\,
  79. \1Subscripts and superscripts can\. be\. inserted\. in\. any\. line.\. The 
  80. return marker at the end of every line is at the \2"\1base\. level\3"\. \1of 
  81. the line. If you move the cursor away from the base level,\. super- 
  82. and subscripts can be\. inserted.\. If\. the\. cursor\. happens\. to\. be 
  83. between two lines, a new level is inserted. \3Move the\. cursor\. back 
  84. to the \1H O \3you just typed and insert past\. it\. \1boils\. at\. 100[Up]o \!
  85. \-        2
  86. [Down]C\3!\"\,
  87. \+
  88. \+
  89. \46. Adding and Zapping Levels\!\,
  90. \-
  91. \-
  92. \1If you type a formula or a table, you will need several levels\. of \"
  93. superscripts and subscripts. [Ctrl-A] adds\. one\. level\. below\. the 
  94. cursor, and [Ctrl-Z] zaps (i.e. deletes) the level containing\. the 
  95. cursor. However, you cannot zap if the cursor is in the base level 
  96. or between two lines. When writing a formula, it is\. usually\. best 
  97. to first add an ample number of levels and later\. zap\. the\. unused 
  98. ones. \4Note: \1When editing a table or formula, turn insert mode \4off! 
  99. \3Move the cursor to the next \4*\3, turn insert mode off, add about\. 10 
  100. \+                                           \05______6
  101. \+                                             \62
  102. \+                                     \1-b \9+ \0r \1b -4ac
  103. \+
  104. \3levels and copy this formula: \1x\.\.\. = \2______________\3. When you\. are \!
  105. \-                               \61,2
  106. \-                                          \12a
  107. \-
  108. \-
  109. \-
  110. \3done, turn insert mode back on! You will find the \2_ \3in font 2, the \"
  111. small \62 \3in font 6, the \9+ \3in font 9 and the characters to make\. the 
  112. root sign in font 10. (This exercise is trickier\. than\. you\. might 
  113. expect. Formula editing requires some practice and patience.)\,
  114. \.\.\.\.\.\4*\!\,
  115. \-
  116. \1Occasionally, you need to insert or delete characters in one level \"\/
  117. of a formula without\. wanting\. to\. shift\. the\. other\. levels.\. \3For 
  118. example, try to delete the \2P \3from the following formula:\,
  119. \+                  \05______6
  120. \+                    \62
  121. \+            \1-b \9+ \0r \1b -4ac
  122. \+
  123. \.\.\.\.\.x\.\.\. = \2______________\3. \!\,
  124. \-      \61,2
  125. \-                \12\2P\1a
  126. \-
  127. \-
  128. \-
  129. If you use the [Del] key, the contents of all\. rows\. are\. deleted. \"
  130. You need to \3unsynchronize \1the index rows by hitting\. [Ctrl-S].\. In 
  131. unsynchronized mode, insertion and deletion only\. affect\. the\. row 
  132. containing the cursor,\. not\. the\. entire\. line.\. \3Try\. again\. after 
  133. hitting \1[Ctrl-S]:\,
  134. \+                  \05______6
  135. \+                    \62
  136. \+            \1-b \9+ \0r \1b -4ac
  137. \+
  138. \.\.\.\.\.x\.\.\. = \2______________\3. \!\,
  139. \-      \61,2
  140. \-                \12\2P\1a
  141. \-
  142. \-
  143. \-
  144. \3Hit \1[Ctrl-S] \3again to switch back\. into\. synchronized\. mode.\. \1Note \"
  145. that\. the\. \4SYNC\. \1indicator\. in\. the\. status\. line\. disappears\.\. in 
  146. unsynchronized mode.\,
  147. \+
  148. \+
  149. \47. Word Wrap and Formatting\,
  150. \-
  151. \-
  152. \1If you type text, don't use the [Return] key to end a\. line.\. When 
  153. you go past\. the\. right\. margin,\. the\. last\. word\. will\. be\. moved 
  154. automatically on a new line. The old line is terminated by a\. soft 
  155. return. If justification mode is on (\4JUST \1in the status line), the 
  156. old line is automatically right justified. Use [Ctrl-J] to\. toggle 
  157. justification mode. At the end of every paragraph, you should\. use 
  158. the [Return] key to insert a hard return.\,
  159.    To format a paragraph, move the cursor into its first line. and 
  160. hit [Ctrl-F]. If justification mode is on, the editor\. produces\. a 
  161. flush right margin by inserting soft spaces (the ones\. that\. don't 
  162. look like small dots),\. otherwise\. a\. ragged\. right\. margin.\.  The 
  163. formatting stops at the next hard return. \3Move the cursor\. to\. the 
  164. next \4* \3and follow the instructions above it!\!\,
  165. \-
  166. \"\,
  167. Write a sentence that is longer than one line to see the word wrap. Then 
  168. move the cursor to the 
  169. first word of this paragraph and hit \1[Ctrl-F]\3! 
  170. \4*\,
  171. \+
  172. \+
  173. 8. Changing the Margins, Tab Stops and Spacing.\!\,
  174. \-
  175. \-
  176. \1[Ctrl-L], [Ctrl-R] change the left and right margin resp.\. to\. the \"
  177. cursor column.\. [Ctrl-T]\. toggles\. the\. tab\. stop\. at\. the\. cursor 
  178. column, i.e. creates a tab stop\. if\. there\. was\. none\. before\. and \/
  179. removes it otherwise. There is a margin\. and\. tab\. stop\. indicator 
  180. below the status line. The maximum right margin\. is\. 77.\. \3Try\. out 
  181. \1[Ctrl-L], [Ctrl-R] \3and \1[Ctrl-T]\3! Observe the effect on the\. status 
  182. line! Be sure to reset the left margin to 1 and the\. right\. margin 
  183. to 66 when you are done.\,
  184.      \1The current spacing value\. determines\. the\. number\. of\. blank 
  185. index rows added to each line to separate it from\. the\. next.\. The 
  186. status line shows the current spacing value as \4SPAC:\1. Use\. [Alt-0] 
  187. ... [Alt-9] to change it. For example, [Alt-2] switches to\. double 
  188. spacing.\,
  189. \+
  190. \+
  191. \49. Pagination\!\,
  192. \-
  193. \-
  194. \1The program automatically computes page breaks.\. However,\. if\. you \"
  195. want to force a page break (e.g. at the end\. of\. a\. chapter),\. hit 
  196. [Ctrl-P]. Hitting [Ctrl-P] again removes the page break. \3Move\. the 
  197. cursor to the next \4* \3and\. hit\. \1[Ctrl-P].\. \3Hit\. \1[Ctrl-P]\. \3again\. to 
  198. remove the page break!\,
  199. \.\.\.\.\.\4*\,
  200. \1Note that the hard page breaks inserted by you show\. up\. as\. solid 
  201. lines across the screen whereas the soft page breaks\. computed\. by 
  202. the computer are dotted. \,
  203.      Sometimes you need to inhibit\. a\. page\. break\. at\. a\. certain 
  204. location, e.g. directly after a section heading. [Ctrl-N]\. toggles 
  205. the line containing the cursor in and out of \2"\1No page break\3" \1mode. 
  206. When in \2"\1No page break\3" \1mode, a page break will\. never\. be\. placed 
  207. below it by the pagination routine. This node is\. indicated\. by\. a 
  208. dotted separator dash below the return marker. \,
  209. \+
  210. \+
  211. \410. Splitting and Merging Lines. Deleting Lines. Centering Lines.\!\,
  212. \-
  213. \-
  214. \1To split a line in two, move the cursor at\. the\. desired\. location \"
  215. and enter a hard return\. with\. the\. [Return]\. key.\. To\. merge\. two 
  216. successive lines, move the cursor to\. the\. last\. column\. (use\. the 
  217. [End] key!), and delete the marker using the [Del] key.\. \3Move\. the 
  218. cursor to the next \4* \3and\. hit\. \1[Return].\. \3Then\. delete\. the\. newly 
  219. created hard return!\,
  220. \,
  221.      Split this line \4* \3and merge it back together!\,
  222. \,
  223. \1Hitting [Alt-L] deletes the line containing\. the\. cursor.\. Hitting 
  224. [Ctrl-C] centers it between the margins.\,
  225. \3Delete me by hitting \1[Alt-L]\3!\,
  226. Center me by hitting \1[Ctrl-C]\3!\,\/
  227. \+
  228. \+
  229. \411. Highlighting\!\,\/
  230. \-
  231. \-
  232. \1For certain CHIWRITER commands, you have to\. specify\. a\. block\. of \"
  233. text by \3highlighting \1it. To highlight a block, move the cursor\. to 
  234. the beginning of it and \3mark \1it by hitting [Alt-M]. Then move\. the 
  235. cursor to the other end. The text between the marked position\. and 
  236. the cursor is highlighted.\,
  237.      You can cut out the highlighted text or change its\. font\. or 
  238. spacing value. To change the font of each character\. in\. a\. block, 
  239. highlight it and hit\. the\. associated\. font\. key [F\3n\1].\. To\. change\. 
  240. the spacing, hit a spacing key [Alt-\3n\1]. \3Move\. the\. cursor\. to\. the 
  241. next \4* \3and follow the instructions.\,
  242. \.\.\.\.\.\4* \3Hit \1[Alt-M]\3, move the cursor to the end and hit \1[F6].\,
  243. If you invoked highlighting by accident, hit [Esc] to cancel it.\,
  244. \+
  245. \+
  246. \412. Cut and Paste\!\,\/
  247. \-
  248. \-
  249. \1To delete a block of text, move the cursor to\. the\. beginning\. and \"
  250. mark it by hitting [Alt-M]. Then move the cursor to the end of the 
  251. text and hit [Alt-C] (\2"\1Cut\3"\1). The highlighted area is cut out\. and 
  252. placed into a buffer. To insert the buffer contents anywhere\. into 
  253. the text, move the cursor to the insert location and\. hit\. [Alt-P] 
  254. (\2"\1Paste\3"\1). If you want to copy a block\. into\. the\. buffer\. without 
  255. deleting it, highlight it and hit [Alt-D] (\2"\1Duplicate\3"\1).\. \3Cut\. out 
  256. the first part of the sentence\. below\. and\. paste\. it\. behind\. the 
  257. second part!\,
  258.      \4* \1Mark here and cut until here \4* \1and paste here: \,
  259. \+
  260. \+
  261. \413. Search and Replace\,
  262. \-
  263. \1To search for a phrase in the document, hit [Alt-S] and enter\. the 
  264. search pattern. Hit [Esc] to start the search. Subsequent\. [Alt-S] 
  265. commands search for more matches until either\. no\. more\. match\. is 
  266. found\. or\. the\. current\. pattern\. is\. deleted\. with\. the\.\. [Alt-F] 
  267. (\2"\1Forget\3"\1) command. \3Try it out: Move the cursor\. here\. \4*\. \3and\. hit 
  268. \1[Alt-S]the[Esc] \3to move the cursor to the next \1the. \,
  269.      To search for a phrase and replace it with another\. one,\. use 
  270. the [Alt-R] command and enter search pattern and replacement\. text 
  271. when prompted.\,
  272. \+
  273. \+
  274. \414. The FULL Indicator\,
  275. \-
  276. \1The file you are editing is stored in\. the\. computer\. memory.\. You 
  277. should save it occasionally, especially if you have problems\. with 
  278. the electrical power. Also, since the memory size is limited,\. you 
  279. should take care that your file fits inside. If\. you\. run\. out\. of \/
  280. memory, the editor will\. try\. to\. save\. your\. text\. (in\. the\. file 
  281. OVERFLOW.CHI) and\. terminate\. execution.\. You\. should\. avoid\. that 
  282. unfriendly event by looking at the \4FULL \1indicator periodically. If 
  283. it is in the 90% range, save your file! \3Check the\. \4FULL\. \3indicator 
  284. now!\,
  285. \+
  286. \+
  287. \415. Key Sequences\,
  288. \-
  289. \1Sequences of keystrokes can be stored, given a name\. and\. replayed 
  290. later by CHIWRITER.\. To\. replay\. a\. key\. sequence,\. hit\. [Ctrl-K], 
  291. enter the name of the\. sequence\. and\. hit\. [Return].\. Here\. is\. an 
  292. example: We programmed a key sequence that\. deletes\. the\. sentence 
  293. containing the cursor, and named it DLS. \3Move the\. cursor\. to\. the 
  294. next \4* \3and enter \1[Ctrl-K]DLS[Return]\3! The sentence containing\. the 
  295. cursor will be deleted\1.\,
  296.      Here\. is\. a\. demonstration\. of\. the\. \2"\1Delete\. Sentence\3"\.\. \1key 
  297. sequence. This sentence will be automatically deleted \4*\. \1when\. the 
  298. key sequence is executed.\,
  299.      To record a key sequence, hit [Ctrl-D]\. (\2"\1Define\3"\1),\. enter\. a 
  300. name followed by [Return], hit the keystrokes you want\. to\. record 
  301. and hit [Ctrl-D] again to complete the definition. While recording 
  302. is in progress, there is a \4DEF \1indicator in the status line.\,
  303.      If you hit [Ctrl-K] or [Ctrl-D] by\. accident,\. hit\. [Esc]\. to 
  304. cancel the command.\,
  305. \+
  306. \+
  307. \416. How to Print. Headers and Footers. Print Options.\!\,
  308. \-
  309. \-
  310. \1Leave edit mode by hitting [Esc]. Select the P (Print) option from \"
  311. the main menu, turn the printer on and\. select\. R\. (Regular\. print 
  312. mode). This tutorial will be printed.\. You\. can\. hit\. any\. key\. to 
  313. stop the printout. To return here, select ED (Edit Document)\. from 
  314. the main menu. \,
  315.      There are three print modes: Draft,\. Regular\. and\. Slow.\. The 
  316. draft mode is intended for fast printing with\. little\. regard\. for 
  317. beauty. Regular or Slow should be\. used\. for\. presentable\. output; 
  318. it depends on your printer\. which\. of\. these\. two\. modes\. produces 
  319. better results. \,
  320.      To suppress printing\. of\. page\. numbers,\. delete\. the\. footer 
  321. containing them with the\. DFA\. (\2"\1Delete\. Footer\. for\. All\. pages\3"\1) 
  322. command. There are variable header and footer\. capabilities\. (e.g. 
  323. different headers on even/odd pages, but suppress header\. on\. page 
  324. 1); consult the manual for details. \,
  325.      Look at the PO (\2"\1Print Options\3"\1)\. to\. print\. out\. part\. of\. a 
  326. document or set the starting page number. \,\/
  327. \+
  328. \+
  329. \416. The Current Disk/Directory\,
  330. \-
  331. \-
  332. \1To see a list of the files on the\. current\. directory, use\. the\. F 
  333. command (\2"\1File Directory\3"\1). This is the equivalent\. of\. the\. DIR/W 
  334. command\. in\. DOS.\. To\. change\. the\. current\. disk/directory\. which 
  335. CHIWRITER uses to load and save documents,\. use\. the\. CD\. (\2"\1Change 
  336. Directory\3"\1) command and enter the name of the new drive (e.g.\. B:) 
  337. or the new directory (e.g. \\CHIWRITE\\LETTER).\,
  338. \+
  339. \+
  340. \416. How To Get Out\,
  341. \-
  342. \-
  343. \1To end the edit session and save your file, hit [Alt-Q]\. (\2"\1Quit\3"\1). 
  344. Your file will be saved and the input file will\. be\. renamed\. with 
  345. the extension .BAK. If you do not want to save your file\. (because 
  346. you only wanted to read\. it\. or\. messed\. it\. up\. too\. much\. during 
  347. editing), hit [Esc]. Either way, you\. get\. to\. the\. editor's\. main 
  348. command menu. Hit Q and answer Y when asked\. whether\. you\. do\. NOT 
  349. want to save your changes. \3Since you\. do\. not\. want\. to\. save\. the 
  350. changes you just made to this tutorial, hit \1[Esc] Q Y \3to quit.\,
  351. \=
  352.